package org.takeback.chat.service.admin;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;
import org.takeback.chat.service.GameMonitor;

@Service("monitorService4Robots")
public class MonitorService4Robots extends MonitorService {
	public Map<String, Object> list(Map<String, Object> req) {
		List<?> ls = this.gameMonitor.robotsList();
		Map<String, Object> result = new HashMap();
        result.put("totalSize", ls.size());
		result.put("body", ls);
		return result;
	}
}
